home *** CD-ROM | disk | FTP | other *** search
/ E.M.Computergraphic Phase 4 / Phase 4 - Desktop Video Dreams (E. M. Computergraphic)(1996).iso / utilities / jacosub / rexx / begintime.jsrx < prev    next >
Text File  |  1996-01-02  |  533b  |  20 lines

  1. /* JACOsub BEGINTIME command demonstration.
  2.    This command changes the begin time for playing a script.
  3.  
  4.    BEGINTIME returns RESULT=0 if successful, or RESULT=1 if the time
  5.    string had a bad format, or 2 if there was a resolution conflict.
  6. */
  7.  
  8. if ~arg() then do ; say 'Need arguments H:MM:SS.FF and [counts/sec]' ; exit 1 ; end
  9. parse arg starttime secunits .
  10. options results
  11.  
  12. address 'JACOsub'
  13. 'BEGINTIME' starttime secunits
  14.  
  15. if result > 0 then
  16.     say 'error setting begin time'
  17. else
  18.     say 'begin time set successfully'
  19. exit result
  20.